Semantics of Inheritance in Logical Object Speciications
نویسندگان
چکیده
Our goal is to integrate the paradigms of object-oriented structuring and of rule-based speciications for databases. In this paper, we consider hierarchical spec-iications of objects and object types with attributes deened by logical rules, and we explain their local (single object) semantics as well as their composite (object society) semantics. In order to allow inheritance with exceptions (overriding) even for rules, the deening formulas are interpreted like defaults of diierent priorities corresponding to levels in the object type hierarchy. Here, minimal model semantics known from default reasoning in artiicial intelligence or from database completions can be utilized, but must be modiied to respect object-oriented issues, in particular locality. We prove that intended models exist for object and composite speciications under natural conditions, even if general clauses are used as defaults.
منابع مشابه
Logical Foundations for Declarative Object-oriented Programming Logical Foundations for Declarative Object-oriented Programming ?
We present a formalism for reasoning about declarative object-oriented programs. Classes are represented as rst-order theories that contain logic programs as methods. Inheritance, genericity and related concepts are represented by operations on such theories which preserve the consistency of these theories as well as the correctness of the programs speciied by their axioms. Our approach provide...
متن کاملFormal Semantics of Inheritance and Object Substitutability
In this paper we study the problem of semantic substitutability of objects. First we give semantics of classes, objects and inheritance in presence of dynamic binding. For this purpose we extend Cook and Palsberg's denotational semantics of stateless classes and inheritance by adding state. We build our theory on the basis of reenement calculus, which is a logic framework for reasoning about co...
متن کاملHierarchical Defaults in Speciications
The goal of this paper is to explain the usage and semantics of hierarchical defaults in logical speciications. We discuss the usefulness of defaults for diierent speciication scenarios like specialization, aggregation, explanation, revision, etc. To understand defaults formally, we introduce a general framework parameterized on the underlying logical institution extended by an instantiation me...
متن کاملAn Approach to Animating Model-based Object-oriented Formal Speciications
| One of the important issues in the application of formal notations in software development is the validation of formal speciications against the informal customer requirements. Animation has been proposed as one of the techniques for achieving this goal. This paper describes an approach to animating object-oriented model-based formal speciications as well as a research prototype of an animati...
متن کاملDeclarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1991